/*
 * @(#) Attachment
 *
 * <br> Copyright:  Copyright (c) 2017
 * <br> @author caijinhuang
 * <br> 2017-12-18 15:57:48
 */

package com.sunsharing.sharemeeting.entity;

import java.util.Date;

public class Attachment {
    private String noteAttachmentId;

    private String meetingId;

    private String attachmentName;

    private String attachmentUri;

    private Date uploadTime = new Date();

    private Integer downloadCount;

    private String username;

    private String nickname;

    private String userId;

    public String getNoteAttachmentId() {
        return noteAttachmentId;
    }

    public void setNoteAttachmentId(String noteAttachmentId) {
        this.noteAttachmentId = noteAttachmentId == null ? null : noteAttachmentId.trim();
    }

    public String getMeetingId() {
        return meetingId;
    }

    public void setMeetingId(String meetingId) {
        this.meetingId = meetingId == null ? null : meetingId.trim();
    }

    public String getAttachmentName() {
        return attachmentName;
    }

    public void setAttachmentName(String attachmentName) {
        this.attachmentName = attachmentName == null ? null : attachmentName.trim();
    }

    public String getAttachmentUri() {
        return attachmentUri;
    }

    public void setAttachmentUri(String attachmentUri) {
        this.attachmentUri = attachmentUri == null ? null : attachmentUri.trim();
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public Integer getDownloadCount() {
        return downloadCount;
    }

    public void setDownloadCount(Integer downloadCount) {
        this.downloadCount = downloadCount;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}